package com.wyz.service.impl;

import com.wyz.entity.Teacher;
import com.wyz.mapper.TeacherDao;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TeacherServiceImpl2 {
    @SuppressWarnings("SpringJavaInjectionPointsAutowiringInspection")
    @Autowired
    TeacherDao dao;
    /**
     * 教师账号密码进行查询，
     * @param teacherId
     * @param pwd
     * @return
     */
    public Teacher getLogin(String teacherId, String pwd){
        return dao.getLogin(teacherId,pwd);
    }
}
